include ../makefile_common

.PHONY:clean all

SERVER=superserver.exe

OBJS=SuperTask.o SuperTimeTick.o SuperServer.o

all:$(SERVER)
	@echo $(CURDIR)/$^ is generated successful!

$(OBJS):%.o:%.cc
	@echo Compiling... $@
	$(CPP) $(CXXFLAGS) -c  $< $(ZTINCLUDE)
$(SERVER) : $(OBJS)
	@echo Building ... $@
	$(CPP) $(CXXFLAGS) -o $@ $^ $(LIB)
clean:
	@echo clear.. $(OBJS) $(SERVER)
	-rm -f $(OBJS) $(SERVER)
